package com.yh.correct.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.yh.correct.model.Register;

/**
 *服刑人员报到信息Dao接口 
 *
 */
@Repository
public interface IRegisterMapper {
	/**
	 * 增加服刑人员报到信息
	 *
	 */
	public int addRegister(Register register) throws Exception;
	/**
	 * 删除服刑人员报到信息
	 * 
	 */
	public int delRegister(int id) throws Exception;
	/**
	 * 修改服刑人员报到信息
	 */
	public int editRegister(Register register) throws Exception;
	/**
	 * 根据id查询服刑人员报道信息
	 * 
	 */
	public Map<String,Object> getIdRegister(int id) throws Exception;
	/**
	 * 
	 * 模糊查询服刑人员报道信息
	 */
	public List<Object> getLikeRegister(Map<String,Object> reister) throws Exception;
	/**
	 * 模糊查询全部人员报到信息总数
	 * 
	 */
	public Integer getLikeRegisterCount(Map<String,Object> reister) throws Exception;
	/**
	 *@author Administrator
	 *@注释 : 查询矫正人员报到信息
	 *	
	 */
	List<Map<String,Object>> getAllRegister() throws Exception;
	
}
